Use Case - Synchronization of a Microsoft VS Project without Building the VS Project
Setting up the Perforce QAC MSBuild plugin
Perforce QAC provides a plug-in (QAVSConverter) to facilitate the synchronization of a VS (Visual Studio) C/C++ project, offering you the possibility of converting one or more VS projects to a Perforce QAC project.
MSVS sync is only supported on VS 2017 version 15.9.27 and later.
Options:
-p, --vsproj <VSProjectFullName> [Optional]
- You can specify either the full path to the VS project, or just the name of the project without its extension (so that it is derived from the path to the solution, specified below). If no projects are specified, then a Perforce QAC project will be created for each project in the solution.
-c, --cfg <ConfigurationName|PlatformName> [Optional]
- You can specify the VS configuration for which the Perforce QAC project will be created, using the format
<ConfigurationName|PlatformName>
(for example, "Debug|x86
", "Release|x86
", "Debug|AnyCPU
"). If no configuration name is given, then the active configuration from the solution will be used.
Restrictions:
- No Perforce QAC project is created if the specified solution does not contain a VS project.
Contents of resultant Perforce QAC project:
- All defines extracted from the VS project, including the predefined ones.
- All project and system includes.
- The precompiled headers for C++ projects.
- All the files with extensions supported by Perforce QAC.
- All the files included in the build for the specified configuration.
- Use Case - Synchronization of a Microsoft VS Project without Building the VS Project
- Performing the Synchronization using the Perforce QAC GUI